﻿using Nop.Web.Framework.Models;
using Nop.Web.Framework.Mvc.ModelBinding;

namespace Nop.Web.Areas.Admin.Models.Customers;

/// <summary>
/// Represents an online customer model
/// </summary>
public partial record OnlineCustomerModel : BaseNopEntityModel
{
    #region Properties

    [NopResourceDisplayName("Admin.Customers.OnlineCustomers.Fields.CustomerInfo")]
    public string CustomerInfo { get; set; }

    [NopResourceDisplayName("Admin.Customers.OnlineCustomers.Fields.IPAddress")]
    public string LastIpAddress { get; set; }

    [NopResourceDisplayName("Admin.Customers.OnlineCustomers.Fields.Location")]
    public string Location { get; set; }

    [NopResourceDisplayName("Admin.Customers.OnlineCustomers.Fields.LastActivityDate")]
    public DateTime LastActivityDate { get; set; }

    [NopResourceDisplayName("Admin.Customers.OnlineCustomers.Fields.LastVisitedPage")]
    public string LastVisitedPage { get; set; }

    #endregion
}